package com.gufe.service.user.mp.excellentperson;

import com.gufe.dto.excellentperson.ExcellentPersonnelDTO;
import com.gufe.result.Result;
import com.gufe.vo.excellentperson.ExcellentPersonnelVO;

import java.util.List;

public interface ExcellentPersonnelService {

    Result<ExcellentPersonnelVO> createPersonnel(ExcellentPersonnelDTO personnelDTO);

    Result<ExcellentPersonnelVO> getPersonnelById(Integer id);

    Result<ExcellentPersonnelVO> updatePersonnel(Integer id, ExcellentPersonnelDTO personnelDTO);

    Result<Void> deletePersonnel(Integer id);

    Result<List<ExcellentPersonnelVO>> getAllPersonnel();
}